/**
 * @name: banner
 * @Description:
 * @Author: 方琦
 * @Date: 2022/6/17 20:04
 **/
const state = () => ({
    bannerImgList: [{id: 1, src: 'images/banner1.jpeg'},
        {id: 2, src: 'images/banner5.jpeg'},
        {id: 3, src: 'images/banner2.jpeg'},
        {id: 4, src: 'images/banner6.jpeg'},]//数组
})
const getters = {
    bannerImgList(state){
        return [...state.bannerImgList]
    }
}
const actions = {

}
const mutations = {

}
export default {
    state,
    getters,
    actions,
    mutations
}
